<?php
$_POST['id_pro']=$_GET['project'];
$query=_insert('quality_plan',$_POST);
if($query){
    $_SESSION['success']='Quality plan has inserted successfully ';
}else{
    $_SESSION['failed']='Failed to insert Quality plan';
}        
redirect('index.php?page=quality_plan/qp-list');
?>
